<template>
  <div id="app">
    <header>
      <router-view name="header" />
    </header>
    <main class="main-container">
      <router-view />
    </main>
    <footer>
      <router-view name="footer" />
    </footer>
  </div>
</template>

<script>
import './_reset.scss'

export default {
  name: 'App',
  components: { // 局部注册组件
  }
}
</script>

<style lang="scss">
  @font-face {
    font-family: 'iconfont';  /* project id 1929143 */
    src: url('//at.alicdn.com/t/font_1929143_js3tizbbf4c.eot');
    src: url('//at.alicdn.com/t/font_1929143_js3tizbbf4c.eot?#iefix') format('embedded-opentype'),
    url('//at.alicdn.com/t/font_1929143_js3tizbbf4c.woff2') format('woff2'),
    url('//at.alicdn.com/t/font_1929143_js3tizbbf4c.woff') format('woff'),
    url('//at.alicdn.com/t/font_1929143_js3tizbbf4c.ttf') format('truetype'),
    url('//at.alicdn.com/t/font_1929143_js3tizbbf4c.svg#iconfont') format('svg');
    src: url('//at.alicdn.com/t/font_1928261_a1kfvodhmt8.eot');
    src: url('//at.alicdn.com/t/font_1928261_a1kfvodhmt8.eot?#iefix') format('embedded-opentype'),
    url('//at.alicdn.com/t/font_1928261_a1kfvodhmt8.woff2') format('woff2'),
    url('//at.alicdn.com/t/font_1928261_a1kfvodhmt8.woff') format('woff'),
    url('//at.alicdn.com/t/font_1928261_a1kfvodhmt8.ttf') format('truetype'),
    url('//at.alicdn.com/t/font_1928261_a1kfvodhmt8.svg#iconfont') format('svg');
  }
  .iconfont{
    font-family:"iconfont" !important;
    font-size:16px;font-style:normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
  }
  // html{
  //   // font-size:26.67vw;
  // }
  html, body {
    height: 100%;
  }
  #app {
    height: 100%;
    display: flex;
    flex-direction: column;

    .main-container {
      flex: 1;
      overflow-x: hidden;
    }
  font-family: 'iconfont';  /* project id 1928261 */
  src: url('//at.alicdn.com/t/font_1928261_4jsd9iccepp.eot');
  src: url('//at.alicdn.com/t/font_1928261_4jsd9iccepp.eot?#iefix') format('embedded-opentype'),
  url('//at.alicdn.com/t/font_1928261_4jsd9iccepp.woff2') format('woff2'),
  url('//at.alicdn.com/t/font_1928261_4jsd9iccepp.woff') format('woff'),
  url('//at.alicdn.com/t/font_1928261_4jsd9iccepp.ttf') format('truetype'),
  url('//at.alicdn.com/t/font_1928261_4jsd9iccepp.svg#iconfont') format('svg');
}

  .iconfont {
  font-family: "iconfont" !important;
  font-size: 21px;
  color: black;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
  #app{
    height: 100%;
    display: flex;
    flex-direction: column;
  }
</style>
